About Process Manager Routines
About Process Manager Routines Overview of Process Manager Routines
You can use the Process Manager to get information about any currently
open applications, to launch other applications, and to control the scheduling of
applications.
Use the Gestalt function with the selector gestaltOSAttr to see if the
Process Manager is available and to find out which features of the launch
routine are available. These constants are names for the bit numbers returned
in the response parameter to the Gestalt function.
gestaltLaunchCanReturn //can return from launch
gestaltLaunchFullFileSpec //LaunchApplication available
gestaltLaunchControl //Process Manager is available
The bit defined by the constant gestaltLaunchCanReturn is set if the _Launch
trap macro can return to the caller. The _Launch trap macro in version 7.0
(and in earlier versions of system software running MultiFinder) provides an
application with the option to continue running after launching an other
application. The _Launch trap macro forces the launching application to quit in
earlier versions of system software not running MultiFinder.
The bit defined by the constant gestaltLaunchFullFileSpec is set if the
launchControlFlags field supports control flags in addition to the
launchContinue flag, and if the parameters to the _Launch trap macro include
the launchAppSpec , launchProcessSN , launchPreferredSize ,
launchMinimumSize , launchAvailableSize , and launchAppParameters fields
in the LaunchParamBlockRec.
The bit defined by the constant gestaltLaunchControl is set if the
Process Manager is available.